package com.itlong.cloud.POJO.PO;

import com.itlong.cloud.annotation.ItlField;
import com.itlong.cloud.annotation.ItlTables;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * <desc>
 * 广告服务的项目实体类。
 * <desc/>
 *
 * @createDate 2017/9/19.
 */
@ItlTables("ad_serve_project")
@Data
@NoArgsConstructor
@EqualsAndHashCode(callSuper = true)
public class AdServeProjectPO extends BasePO implements Serializable {

    @ItlField(value = "ad_id",logicKey = "key")
    private String adId;  //广告

    @ItlField("project_id")
    private String projectId;    //项目编号

    public AdServeProjectPO(String adId,String projectId){
        this.adId = adId;
        this.projectId = projectId;
    }
}
